package cn.ffcs.uec.reportParameter.action;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.Components;

import cn.ffcs.raptornuke.plugin.common.zk.ctrl.BasePortletComposer;
import cn.ffcs.raptornuke.portal.theme.ThemeDisplay;
import cn.ffcs.uec.reportParameter.action.bean.ReportCollectionBean;
import cn.ffcs.uom.common.util.UomZkUtil;
@Controller
@Scope("prototype")
public class ReportCollectionMainComposer extends BasePortletComposer {
	private static final long serialVersionUID = -139335897781983790L;
	
	 private ReportCollectionBean bean = new ReportCollectionBean();
	
	@Override
	public String getPortletId() {
		return super.getPortletId();
	}

	@Override
	public ThemeDisplay getThemeDisplay() {
		return super.getThemeDisplay();
	}
	@Override
	public void doAfterCompose(Component comp) throws Exception {
		super.doAfterCompose(comp);
		UomZkUtil.autoFitHeight(comp);
		Components.wireVariables(comp, bean);
		//this.bean.getReportCollectionExt().setPortletInfoProvider(this);
	}
	
	/**
     * 界面初始化
     */
    public void onCreate() {
    	//onQueryStaffTotalInfo();
    }
}
